import { API_BASE_URL } from '@/config/setting';
import axios from 'axios';
import request from '@/utils/request';
import { message } from 'ant-design-vue';
import { getToken, setToken } from './token-util';

export function isEmptyFn(object) {
  var isEmpty = true;
  Object.keys(object).forEach(function (x) {
    if (x != '_X_ROW_KEY' && object[x] != null && object[x] != '') {
      isEmpty = false;
    } else {
      //console.log(x, object[x])
    }
  });
  return isEmpty;
}
